salary = {"大娃":350,"二娃":300,"三娃":250,"四娃":300}
workday = {"大娃":6,"二娃":4,"三娃":5,"四娃":5}
paid = 0
for i in salary:  #用i同时引用两个列表中的数据
    print (salary[i]*workday[i])
    paid = paid + (salary[i]*workday[i]) #一个一个依次打印完
print(paid)